<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        <div class="layui-form-item">
            <label class="layui-form-label">商机名称</label>
            <div class="layui-input-block">
                <input type="text" name="business_name" class="layui-input"  placeholder="请输入商机名称" value="{$row.business_name|default=''}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label required">效果图</label>
            <div class="layui-input-block layuimini-upload">
                <input name="customer_file" class="layui-input layui-col-xs6" lay-verify="required" lay-reqtext="请上传效果图" placeholder="请上传效果图" value="{$row.customer_file|default=''}">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="customer_file" data-upload-number="more" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_customer_file" data-upload-select="customer_file" data-upload-number="more" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label required">CAD图纸</label>
            <div class="layui-input-block layuimini-upload">
                <input name="customer_imgs" class="layui-input layui-col-xs6" lay-verify="required" lay-reqtext="请上传CAD图纸" placeholder="请上传CAD图纸" value="{$row.customer_imgs|default=''}">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="customer_imgs" data-upload-number="more" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_customer_imgs" data-upload-select="customer_imgs" data-upload-number="more" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">客户名称</label>
            <div class="layui-input-block">
                <input type="text" name="name" class="layui-input"  placeholder="请输入客户名称" value="{$row.name|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">客户手机号</label>
            <div class="layui-input-block">
                <input type="text" name="mobile" class="layui-input"  placeholder="请输入客户手机号" value="{$row.mobile|default=''}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">客户地址</label>
            <div class="layui-input-block" style="width:80%;display: flex;">
                <input type="text" name="province" class="layui-input"  placeholder="请输入省份" value="{$row.province|default=''}">
                <input type="text" name="city" class="layui-input"  placeholder="请输入地市" value="{$row.city|default=''}">
                <input type="text" name="dist" class="layui-input"  placeholder="请输入地区" value="{$row.dist|default=''}">
                <input type="text" name="house_estate" class="layui-input"  placeholder="请输入小区" value="{$row.house_estate|default=''}">
                <input type="text" name="address" class="layui-input"  placeholder="请输入详细地址" value="{$row.address|default=''}">

            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">客户状态</label>
            <div class="layui-input-block">

                <select name="customer_status" lay-verify="required" placeholder="请选择客户状态">
                    <option value="">--请先选择--</option>
                    <option value="-1" {if $row.customer_status eq -1 } selected {/if}>已放弃</option>
                    <option value="0" {if $row.customer_status eq 0 } selected {/if}>待放弃</option>
                    <option value="1" {if $row.customer_status eq 1 } selected {/if}>正常</option>
                    <option value="2" {if $row.customer_status eq 2 } selected {/if}>成交</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">预算金额</label>
            <div class="layui-input-block">
                <input type="text" name="budget_amount" class="layui-input"  placeholder="请输入预算金额" value="{$row.budget_amount|default=''}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">订单总金额</label>
            <div class="layui-input-block">
                <input type="text" name="order_total_amount" class="layui-input"  placeholder="请输入订单总金额" value="{$row.order_total_amount|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">已支付金额</label>
            <div class="layui-input-block">
                <input type="text" name="payment_amount" class="layui-input"  placeholder="请输入已支付金额" value="{$row.payment_amount|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">预计本月回款</label>
            <div class="layui-input-block">
                <input type="text" name="expect_payment" class="layui-input"  placeholder="请输入预计本月回款" value="{$row.expect_payment|default=''}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">建筑面积</label>
            <div class="layui-input-block">
                <input type="text" name="customer_area" class="layui-input"  placeholder="请输入建筑面积" value="{$row.customer_area|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">装修风格</label>
            <div class="layui-input-block">
                <select name="customer_type" lay-verify="required" placeholder="请选择装修风格">
                    <option value="">--请先选择--</option>
                    <option value="1" {if $row.customer_type eq 1 } selected {/if}>极简</option>
                    <option value="2" {if $row.customer_type eq 2 } selected {/if}>轻奢</option>
                    <option value="3" {if $row.customer_type eq 3 } selected {/if}>美式</option>
                    <option value="4" {if $row.customer_type eq 4 } selected {/if}>欧式</option>
                    <option value="5" {if $row.customer_type eq 5 } selected {/if}>法式</option>
                    <option value="5" {if $row.customer_type eq 6 } selected {/if}>新中式</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">基础工程造价</label>
            <div class="layui-input-block">
                <input type="text" name="customer_basics" class="layui-input"  placeholder="请输入装修基础工程造价" value="{$row.customer_basics|default=''}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">渠道名称</label>
            <div class="layui-input-block">
                <input type="text" name="channel_id" class="layui-input"  placeholder="请输入渠道id" value="{$row.channel_id|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">进入门店</label>
            <div class="layui-input-block">
                <input type="radio" name="is_in_store" value="1"  title="是" {if $row.is_in_store eq 1 }checked {/if}/>
                <input type="radio" name="is_in_store" value="0"   title="否" {if $row.is_in_store eq 0 }checked {/if}/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">进店次数</label>
            <div class="layui-input-block">
                <input type="text" name="in_store_nums" class="layui-input"  placeholder="请输入进入门店次数" value="{$row.in_store_nums|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">房屋性质</label>
            <div class="layui-input-block">
                <input type="radio" name="house_attr" value="1"  title="毛坯" {if $row.house_attr eq 1 }checked {/if}/>
                <input type="radio" name="house_attr" value="2"   title="金装" {if $row.house_attr eq 2 }checked {/if}/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">房屋户型</label>
            <div class="layui-input-block" style="width:40%;display: flex;">
                <input type="text" name="room_nums" class="layui-input"  placeholder="请输入几室" value="{$row.room_nums|default=''}"> <span style="margin-top: 5px">室</span>
                <input type="text" name="who_nums" class="layui-input"  placeholder="请输入几室" value="{$row.room_nums|default=''}" style="margin-left: 40px"> <span style="margin-top: 5px">卫</span>
                <input type="text" name="hall_nums" class="layui-input"  placeholder="请输入几室" value="{$row.room_nums|default=''}" style="margin-left: 40px"> <span style="margin-top: 5px">厅</span>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">客户痛点</label>
            <div class="layui-input-block">
                <input type="text" name="customer_pain_content" class="layui-input"  placeholder="请输入客户痛点" value="{$row.customer_pain_content|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">回款周期</label>
            <div class="layui-input-block">

                <select name="expect_status" lay-verify="required" placeholder="请输入回款周期">
                    <option value="">--请先选择--</option>
                    <option value="1" {if $row.expect_status eq 1 } selected {/if}>本周</option>
                    <option value="2" {if $row.expect_status eq 2 } selected {/if}>本月</option>
                    <option value="3" {if $row.expect_status eq 3 } selected {/if}>下月</option>
                    <option value="4" {if $row.expect_status eq 4 } selected {/if}>长期</option>
                    <option value="5" {if $row.expect_status eq 5 } selected {/if}>待放弃</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">房屋结构</label>
            <div class="layui-input-block">
                <select name="structure_status" lay-verify="required" placeholder="请选择房屋结构">
                    <option value="">--请先选择--</option>
                    <option value="1" {if $row.structure_status eq 1 } selected {/if}>平层</option>
                    <option value="2" {if $row.structure_status eq 2 } selected {/if}>叠层</option>
                    <option value="3" {if $row.structure_status eq 3 } selected {/if}>别墅</option>
                    <option value="4" {if $row.structure_status eq 4 } selected {/if}>商业</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">家装进度</label>
            <div class="layui-input-block">

                <select name="progress_status" lay-verify="required" placeholder="请选择家装进度">
                    <option value="">--请先选择--</option>
                    <option value="1" {if $row.progress_status eq 1 } selected {/if}>设计</option>
                    <option value="2" {if $row.progress_status eq 2 } selected {/if}>签单</option>
                    <option value="3" {if $row.progress_status eq 3 } selected {/if}>土建</option>
                    <option value="4" {if $row.progress_status eq 4 } selected {/if}>室内拆改</option>
                    <option value="5" {if $row.progress_status eq 5 } selected {/if}>改水电</option>
                    <option value="6" {if $row.progress_status eq 6 } selected {/if}>铺砖</option>
                    <option value="7" {if $row.progress_status eq 7 } selected {/if}>木工</option>
                    <option value="8" {if $row.progress_status eq 8 } selected {/if}>油工</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">推荐人</label>
            <div class="layui-input-block">
                <input type="text" name="recommend_id" class="layui-input"  placeholder="请输入推荐人id" value="{$row.recommend_id|default=''}">
            </div>
        </div>




        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>